<h2 style="text-align: center">课程信息表</h2>
<div class="studentTable">
  <nz-table #ajaxTable nzShowSizeChanger [nzFrontPagination]="true" [nzTotal]="total"  [nzLoading]="loading" [nzData]="courseInfo" [(nzPageIndex)]="pageIndex" [(nzPageSize)]="pageSize"
            (nzPageIndexChange)="changePage()" nzShowQuickJumper>
    <thead>
    <tr>
      <th>课程编号</th>
      <th>课程名称</th>
      <th>课程类型</th>
      <th>课程学分</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let item of CourseInfo">
      <td routerLink="./detailCourse/{{item.courseid}}">{{item.courseid}}</td>
      <td>{{item.coursename}}</td>
      <td>{{item.type}}</td>
      <td>{{item.credit}}</td>
    </tr>
    </tbody>
  </nz-table>
</div>
